package com.nt.thah.dao;

import com.nt.thah.entity.Product;
import com.nt.thah.requestparam.BaseParam;
import com.nt.thah.requestparam.ProductParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @Description: 产品信息
* @author: ls
* @Date: 2020-07-14 15:58:36
*/
@Mapper
public interface ProductDao {

    List<Product> getList(BaseParam param);

    int update(Product product);

    int save(Product product);

    Integer checkRepeat(ProductParam param);

    Product getProductById(Integer productId);

}
